<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/views/common/taglib.jsp"%>
<script>
<%--
	$.ajax({
		url: '${ctx}/user/getLastLoginTime.do',
		type: 'POST',
		dataType: "json",
		data: {userId:<%=session.getAttribute("user_id")%>},
		complete: function(resp){
			var json = JSON.parse(resp.responseText);
			var html = json.user_name+"您好，您上次登陆的时间是 "+json.login_time.substr(0,16);
			$("#text").html(html);
		};
		
	});
--%>
</script>
<div class="topTitle">
	<div class="face">
	  <div class="faceBox">
	    <img src="${ctx}/images/test/face.jpg" />
	  </div>
	  <a class="loginOut" href="${ctx}/user/userLogOut.do">退出</a>
	</div>
	<p id="text"></p>
</div>